package net.sx.minemodule.mvp.activities;

import android.content.DialogInterface;
import android.os.Bundle;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.homegoods.aroutercomment.ARouterPath;
import com.kedll.library.base.MyBaseFragmentActivity;
import com.kedll.library.dialog.ECAlertDialog;
import com.kedll.library.mvp.BasePresenter;
import com.kedll.library.util.DataCleanManager;

import net.sx.minemodule.R;
import net.sx.minemodule.databinding.MineActivityBecomeResearcherBinding;

/**
 * add shibo.zheng
 * 19/06/17
 * 成为调研员activity
 */
@Route(path = ARouterPath.PATH_BECOME_RESEARCHER)
public class MineBecomeResearcherActivity extends MyBaseFragmentActivity<MineActivityBecomeResearcherBinding, BasePresenter> {

    @Override
    protected int getLayout() {
        return R.layout.mine_activity_become_researcher;
    }

    @Override
    protected void initEvent() {
        mBinding.tvSubmit.setOnClickListener(v -> {
            ECAlertDialog dialog = ECAlertDialog.buildAlert(this, "您的提交申请正在审核中，请稍等！", (dialog1, which) -> dialog1.dismiss());
            dialog.show();
        });
    }

    @Override
    protected BasePresenter getPresenter() {
        return null;
    }

    @Override
    protected void initData(Bundle savedInstanceState) {
        super.initData(savedInstanceState);
        setTitle("成为调研员");
    }
}
